switch(mw.config.get('wgCanonicalNamespace')){case'Special':switch(mw.config.get('wgTitle')){case'Páginas vigiadas':importScript('MediaWiki:Common.js/watchlist.js');break;}break;case'Project':case'Project_talk':switch(mw.config.get('wgTitle')){case'Página principal':$(function(){mw.util.addPortletLink('p-lang',mw.util.wikiGetlink('Wikipédia:Wikipédia em outras línguas'),'Lista completa','interwiki-completelist','Lista completa de Wikipédias');if(mw.config.get('wgUserLanguage').substr(0,2)==='pt'){$('#ca-nstab-project a').text('Página principal');}});break;case'Esplanada/propostas':case'Esplanada/geral':importScript('MediaWiki:Gadget-Nova-esplanada.js');break;}break;case'File':importScript('MediaWiki:Common.js/SVGPNG.js');break;case'MediaWiki':break;default:importScript('MediaWiki:Wikibugs.js');}if($.inArray(mw.config.get('wgAction'),['edit','submit'])>-1){importScript('MediaWiki:Common.js/edit.js');}if($.client.profile().name==='msie'){importScript(
'MediaWiki:Common.js/IEFixes.js');}if(mw.config.get('wgAction')==='view'&&!mw.config.get('wgCanonicalSpecialPageName')&&!$.isEmpty(mw.config.get('wgRestrictionEdit'))&&$.inArray(mw.config.get('wgRestrictionEdit')[0],['autoconfirmed','sysop'])>-1&&mw.config.get('wgPageName')!=='Wikipédia:Página_principal'){importScript('MediaWiki:Topicon.js');}if(mw.config.get('wgUserName')===null){importScript('MediaWiki:WikiBanners.js');}if(mw.config.get('wgServer')==='https://secure.wikimedia.org'){importScript('MediaWiki:Common.js/secure.js');}var extraCSS=mw.util.getParamValue("withCSS");if(extraCSS&&extraCSS.match(/^MediaWiki:[^&<>=%]*\.css$/)){importStylesheet(extraCSS);}var extraJS=mw.util.getParamValue("withJS");if(extraJS&&extraJS.match(/^MediaWiki:[^&<>=%]*\.js$/)){importScript(extraJS);}function formatInterwikiLinks(){if(document.getElementById('p-lang')){var InterwikiLinks=document.getElementById('p-lang').getElementsByTagName('li');for(var i=0;i<InterwikiLinks.length;i++){if(document.
getElementById(InterwikiLinks[i].className+'-fa')){InterwikiLinks[i].className+=' FA';InterwikiLinks[i].title='Este artigo foi classificado como destacado.';}else if(document.getElementById(InterwikiLinks[i].className+'-fl')){InterwikiLinks[i].className+=' FL';InterwikiLinks[i].title='Este anexo foi classificado como destacado.';}else if(document.getElementById(InterwikiLinks[i].className+'-bom')){InterwikiLinks[i].className+=' BOM';InterwikiLinks[i].title='Este artigo foi classificado como bom.';}}}}$(formatInterwikiLinks);function adicionaCorrelatos(){var cl,iProjectHTML=document.getElementById('interProject');if(iProjectHTML){iProjectHTML=iProjectHTML.innerHTML;var iProject=document.createElement('div');if(self.skin==='vector'){iProject.className='portal collapsed';cl='body';}else{iProject.className='portlet';cl='pBody';}iProject.innerHTML='<h5>Correlatos<\/h5><div class="'+cl+'">'+iProjectHTML;iProject.setAttribute('id','p-correlatos');iProject.id='p-correlatos';var ptb=document.
getElementById('p-tb');ptb.parentNode.insertBefore(iProject,ptb.nextSibling);}}$(adicionaCorrelatos);rewritePageH1=function(){try{var realTitleBanner=document.getElementById('RealTitleBanner');if(realTitleBanner){if(!document.getElementById('DisableRealTitle')){var realTitle=document.getElementById('RealTitle');var h1=document.getElementsByTagName('h1')[0];if(realTitle&&h1){h1.innerHTML=realTitle.innerHTML;realTitleBanner.style.display='none';}}}}catch(e){mw.log('Algo deu errado ao tentar reescrever o título da página.');}};$(rewritePageH1);mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400');var autoCollapse=2,collapseCaption='Esconder',expandCaption='Expandir';function collapseTable(tableIndex){var i,Button=document.getElementById('collapseButton'+tableIndex),Table=document.getElementById('collapsibleTable'+tableIndex);if(!Table||!Button){return false;}var Rows=Table.rows;if(Button.firstChild
.data==collapseCaption){for(i=1;i<Rows.length;i++){Rows[i].style.display='none';}Button.firstChild.data=expandCaption;}else{for(i=1;i<Rows.length;i++){Rows[i].style.display=Rows[0].style.display;}Button.firstChild.data=collapseCaption;}}function createCollapseButtons(){var i,tableIndex=0,NavigationBoxes={},Tables=document.getElementsByTagName('table');for(i=0;i<Tables.length;i++){if($(Tables[i]).hasClass('collapsible')){var HeaderRow=Tables[i].getElementsByTagName('tr')[0];if(!HeaderRow){continue;}var Header=HeaderRow.getElementsByTagName('th')[0];if(!Header){continue;}NavigationBoxes[tableIndex]=Tables[i];Tables[i].setAttribute('id','collapsibleTable'+tableIndex);var Button=document.createElement('span'),ButtonLink=document.createElement('a'),ButtonText=document.createTextNode(collapseCaption);Button.className='collapseButton';ButtonLink.style.color=Header.style.color;ButtonLink.setAttribute('id','collapseButton'+tableIndex);ButtonLink.setAttribute('href','#');addHandler(ButtonLink,
'click',new Function('evt','collapseTable('+tableIndex+' ); return killEvt( evt );'));ButtonLink.appendChild(ButtonText);Button.appendChild(document.createTextNode('['));Button.appendChild(ButtonLink);Button.appendChild(document.createTextNode(']'));Header.insertBefore(Button,Header.childNodes[0]);tableIndex++;}}for(i=0;i<tableIndex;i++){var $box=$(NavigationBoxes[i]);if($box.hasClass('collapsed')||(tableIndex>=autoCollapse&&$box.hasClass('autocollapse'))){collapseTable(i);}else if($box.hasClass('innercollapse')){var element=NavigationBoxes[i];element=element.parentNode;while(element){if($(element).hasClass('outercollapse')){collapseTable(i);break;}element=element.parentNode;}}}}$(createCollapseButtons);var NavigationBarHide='['+collapseCaption+']',NavigationBarShow='['+expandCaption+']';function toggleNavigationBar(indexNavigationBar){var NavChild,NavToggle=document.getElementById('NavToggle'+indexNavigationBar),NavFrame=document.getElementById('NavFrame'+indexNavigationBar);if(!
NavFrame||!NavToggle){return false;}var $child;if(NavToggle.firstChild.data==NavigationBarHide){for(NavChild=NavFrame.firstChild;NavChild!==null;NavChild=NavChild.nextSibling){$child=$(NavChild);if($child.hasClass('NavContent')||$child.hasClass('NavPic')){NavChild.style.display='none';}}NavToggle.firstChild.data=NavigationBarShow;}else if(NavToggle.firstChild.data==NavigationBarShow){for(NavChild=NavFrame.firstChild;NavChild!==null;NavChild=NavChild.nextSibling){$child=$(NavChild);if($child.hasClass('NavContent')||$child.hasClass('NavPic')){NavChild.style.display='block';}}NavToggle.firstChild.data=NavigationBarHide;}}function createNavigationBarToggleButton(){var NavChild,$child,indexNavigationBar=0,divs=document.getElementsByTagName('div');NavFrame=divs[0];for(var i=0;NavFrame;i++){var $frame=$(NavFrame);if($frame.hasClass('NavFrame')){indexNavigationBar++;var NavToggle=document.createElement('a');NavToggle.className='NavToggle';NavToggle.setAttribute('id','NavToggle'+
indexNavigationBar);NavToggle.setAttribute('href','javascript:toggleNavigationBar('+indexNavigationBar+');');var isCollapsed=$frame.hasClass('collapsed');for(NavChild=NavFrame.firstChild;NavChild!==null&&!isCollapsed;NavChild=NavChild.nextSibling){$child=$(NavChild);if($child.hasClass('NavPic')||$child.hasClass('NavContent')){if(NavChild.style.display=='none'){isCollapsed=true;}}}if(isCollapsed){for(NavChild=NavFrame.firstChild;NavChild!==null;NavChild=NavChild.nextSibling){$child=$(NavChild);if($child.hasClass('NavPic')||$child.hasClass('NavContent')){NavChild.style.display='none';}}}var NavToggleText=document.createTextNode(isCollapsed?NavigationBarShow:NavigationBarHide);NavToggle.appendChild(NavToggleText);for(var j=0;j<NavFrame.childNodes.length;j++){var $node=$(NavFrame.childNodes[j]);if($node.hasClass('NavHead')){NavToggle.style.color=NavFrame.childNodes[j].style.color;NavFrame.childNodes[j].appendChild(NavToggle);}}NavFrame.setAttribute('id','NavFrame'+indexNavigationBar);}
NavFrame=divs[i];}}$(createNavigationBarToggleButton);function CadreOngletInit(){var i=0;for(i=0;i<=9;i++){var vMb,vBt,j,vOgIni=0;vMb=document.getElementById('mb'+i);if(!vMb){break;}for(j=1;j<=9;j++){vBt=document.getElementById('mb'+i+'bt'+j);if(!vBt){break;}vBt.onclick=CadreOngletVoirOnglet;if(vBt.className==='mbBoutonSel'){vOgIni=j;}}if(vOgIni===0){vOgIni=1+Math.floor((j-1)*Math.random());document.getElementById('mb'+i+'og'+vOgIni).style.display='block';document.getElementById('mb'+i+'og'+vOgIni).style.visibility='visible';document.getElementById('mb'+i+'bt'+vOgIni).className='mbBoutonSel';}}}function CadreOngletVoirOnglet(){var vMbNom=this.id.substr(0,3),vIndex=this.id.substr(5,1),i;for(i=1;i<=9;i++){var vOgElem=document.getElementById(vMbNom+'og'+i);if(!vOgElem){break;}if(vIndex==i){vOgElem.style.display='block';vOgElem.style.visibility='visible';document.getElementById(vMbNom+'bt'+i).className='mbBoutonSel';}else{vOgElem.style.display='none';vOgElem.style.visibility='hidden';
document.getElementById(vMbNom+'bt'+i).className='mbBouton';}}return false;}if($.inArray(mw.config.get('wgNamespaceNumber'),[0,102])===-1){$(CadreOngletInit);};mw.loader.state({"site":"ready"});

/* cache key: ptwiki:resourceloader:filter:minify-js:4:e68bf862f058625aa1fe85f21cb1ed4f */